﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="KEditor.aspx.cs" Inherits="PeachLite.Admin.KEditor" %>
<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
    <link type="text/css" rel="Stylesheet" href="js/kindeditor/themes/default/default.css" charset="utf-8" />
    <link rel="stylesheet" href="js/kindeditor/plugins/code/prettify.css" />
    <script type="text/javascript" src="js/kindeditor/kindeditor-min.js" charset="utf-8"></script>
    <script type="text/javascript" src="js/kindeditor/lang/zh_CN.js" charset="urf-8"></script>
    <script type="text/javascript">
        KindEditor.ready(function (K) {
            var editor1 = K.create('#content', {
                cssPath: 'js/kindeditor/plugins/code/prettify.css',
                allowFileManager: true,
                uploadJson: 'x/fileuploader.ashx',
                fileManagerJson: 'x/filemanager.ashx'
            });
            prettyPrint();
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <textarea id="content" cols="100" rows="8" style="width:700px;height:200px;visibility:hidden;" runat="server"></textarea>
    </form>
</body>
</html>
